# Set the default
<uiElem type="default">
	typeName = __none__
	objAnim = __none__
	uioElemType = etStatic
	uioTransitionTime = 0.25
	uioOffOpacity = 0.0
	uioOff2Opacity = 0.0
	uioOnOpacity = 1.0
	uioFont = ftMainFontSmallSimple
	
	# Default for consistency. Note the color
	# for progress bar is the same.
	uioTextColor = { 1.0, 1.0, 1.0, 1.0 }	
	uioTextSelColor = { 1.0, 1.0, 1.0, 1.0 }	
	
	uioTextHorAlign = Center
	uioTextVertAlign = Center

	animRenderStage = 2
</uiElem>

#####################################################
# Special effects elements
#####################################################

# The props will be set automatically
<uiElem>
 	typeName = _itemBought
 	objAnim = __none__
 	uioLayerName = uilItemBought
	animRenderStage = 9
	uioTransitionTime = 0.5
</uiElem>

###############################################################################
# Game pause
###############################################################################
<uiElem>
	typeName = gamePause
	uioLayerName = uilGamePause
	
	#objAnim = gameFadeBack

	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	
	objSizeW = 480up
	objSizeH = 320up

	<uiElem>
		typeName = defaultPauseBtnClickSolid
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.30 }	
		objSizeW = 480up
		objSizeH = 320up
		animRenderStage = 1
	</uiElem>

	<uiElem>
		typeName = defaultPauseBtnClick
		uioElemType = etButton
		objSizeW = 480up
		objSizeH = 320up
		uioAction = uiaHideLayer
		uioActionValue = uilGamePause
		animRenderStage = 1
		objAnim = pauseBack
	</uiElem>
	
	<uiElem>
		typeName = gpToMainMenu
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOnPosY = -61up
		objSizeW = 160up
		objSizeH = 42up
		uioText = Go to Start Menu
		uioAction = uiaShowStartMenu
		#uioAlignHints = { Center, Bottom }
	</uiElem>
	
	<uiElem>
		typeName = gpSaveAndContinue
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOnPosY = -20up
		objSizeW = 160up
		objSizeH = 42up
		uioText = New Game
		uioAction = uiaShowLayerExclusive
		uioActionValue = uilGameChoice
		#uioText = Save and Resume
		#uioAction = uiaSaveGame
		#uioAlignHints = { Center, Bottom }
	</uiElem>

	<uiElem>
		typeName = gpShowInstructions
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOnPosY = 20up
		objSizeW = 160up
		objSizeH = 42up
		uioText = Show Instructions
		uioAction = uiaShowLayer
		uioActionValue = uilInstructions
		#uioAlignHints = { Center, Bottom }
	</uiElem>
	
	<uiElem>
		typeName = gpResumeButton
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOnPosY = 61up
		objSizeW = 160up
		objSizeH = 42up
		uioText = Resume Playing
		uioAction = uiaHideLayer
		uioActionValue = uilGamePause
		#uioAlignHints = { Center, Bottom }
	</uiElem>

	<uiElem>
		typeName = gpTextControls1
		objAnim = __none__
		uioText = Tip: Use the arrow keys to move. Click and hold left mouse button to shoot. Alternatively, you can use W (up), S (down), A (left) and D (right) keys for moving. Press 1 to throw gravity bombs if you have them, and 2 to throw destructive multi-laser munitions.
		uioTextOffsetY = 22up
		uioTextVertAlign = Top
		uioOnPosX = 0up
		uioOnPosY = 100up
		uioTextWidth = 440up
		uioAlignHints = { Center, __none__ }
		uioHidden = True
	</uiElem>
    
	<uiElem>
		typeName = soundMuteButtonPuase
		#objAnim = symbolsPage:2
		#objBaseAnim = symbolsPage:1
		#uioElemType = etCheckbox
		uioElemType = etButton
		objAnim = unmute
		uioOnPosX = -220up
		uioOnPosY = 142up
		uioOffPosX = -220up
		uioOffPosY = 182up
		objSizeW = 60up
		objSizeH = 60up
		#uioAction = uiaToggleSound
		uioAction = uiaShowLayer
		uioActionValue = uilSettings
		uioAnimateChild = True
		uioTransitionTime = 0.2
		#uioTimeOffsetWhenShowing = 0.8
		uioAlignHints = { Left, Bottom }
	</uiElem>    

</uiElem>

#####################################################
# Game end
#####################################################
<uiElem>
	typeName = gameEndDialog
	uioLayerName = uilGameOver
	uioElemType = userGameOverWindow
	
	objSizeW = 480up
	objSizeH = 320up
	
	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	
	animRenderStage = 5
	
	<uiElem>
		typeName = gameEndMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.5 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>
	
	<uiElem>
		typeName = gameEndMenuBackHs2
		objAnim = gameMapBack
	</uiElem>	
	
	<uiElem>
		typeName = defaultGameEndClick
		uioElemType = etButton
		objSizeW = 480up
		objSizeH = 320up
		uioAction = uiaProcessScores
		animRenderStage = 1
	</uiElem>

	<uiElem>
		typeName = geTutorialEnd
		#objAnim = animGameEndsPage:2
		uioOnPosX = -8up
		uioOnPosY = 40up
		#uioHidden = True
		
		<uiElem>
			typeName = geTutTitle
			uioTextColor = { 0.40, 0, 0, 1 }
			uioTextShadowColor = { 1.0, 0.945, 0.655, 1 }
			uioOnPosX = 0up
			uioOnPosY = -137up
			uioText = Congratulations!
			uioTextHorAlign = Center
			uioTextOffsetY = 2up
		</uiElem>			

		
		<uiElem>
			typeName = geTutsText
			uioText = You have successfully completed the tutorial.^^You're now ready for the long, mysterious quest toward the Volcanoes of Vengefulness to save your beloved from the evil spirits that kidnapped her.
			uioTextWidth = 370up
			uioTextColor = { 0.365, 0.188, 0.125, 1.0 }
			uioTextShadowColor = { 1.0, 0.945, 0.655, 1 }		
			uioTextHorAlign = Center
			uioTextVertAlign = Top
			uioOnPosY = -110up
			#uioFont = ftMainFontSmall
		</uiElem>
		
		<uiElem>
			typeName = geCloseButton
			objAnim = buttonLong
			objBaseAnim = buttonLongPressed
			uioElemType = etButton
			uioOnPosX = 0up
			uioOnPosY = 30up
			objSizeW = 170up
			objSizeH = 46up
			uioText = Close
			uioAction = uiaShowStartMenu
			uioAlignHints = { Center, Bottom }
			uioTextOffsetY = 2up
			animRenderStage = 4
		</uiElem>
	</uiElem>
	
	

	<uiElem>
		typeName = geHappyEnd
		objAnim = animGameEndsPage:2
		uioOnPosX = -8up
		uioOnPosY = 40up
		#uioHidden = True
		
		<uiElem>
			typeName = geHappyTitle
			uioTextColor = { 0.40, 0, 0, 1 }
			uioTextShadowColor = { 1.0, 0.945, 0.655, 1 }
			uioOnPosX = 0up
			uioOnPosY = -147up
			uioText = Congratulations!
			uioTextHorAlign = Center
			uioTextOffsetY = 2up
		</uiElem>			

		
		<uiElem>
			typeName = geHappyText
			uioText = After surmounting all challenges, monsters, evil spirits and their spells that this journey has thrown at you, you finally reach the Princess' castle. As you run towards it, utterly exhausted, you suddenly notice a sign on the door that says: "Temporarily away. The princess is in another castle!"
			uioTextWidth = 370up
			uioTextColor = { 0.365, 0.188, 0.125, 1.0 }
			uioTextShadowColor = { 1.0, 0.945, 0.655, 1 }		
			uioTextHorAlign = Center
			uioTextVertAlign = Top
			uioOnPosY = -130up
			uioFont = ftMainFontSmall
		</uiElem>

	</uiElem>		

	<uiElem>
		typeName = geSadEnd
		objAnim = animGameEndsPage:1
		uioOnPosY = 40up
		uioHidden = True
		
		<uiElem>
			typeName = geSadTitle
			uioTextColor = { 0.40, 0, 0, 1 }
			uioTextShadowColor = { 1.0, 0.945, 0.655, 1 }
			uioOnPosX = 0up
			uioOnPosY = -147up
			uioText = R.I.P., Brave Soul!
			uioTextHorAlign = Center
			uioTextOffsetY = 2up
		</uiElem>	
		
		<uiElem>
			typeName = geSadText
			uioText = This is the end.
			uioTextWidth = 370up
			uioTextColor = { 0.365, 0.188, 0.125, 1.0 }
			uioTextShadowColor = { 1.0, 0.945, 0.655, 1 }		
			uioTextHorAlign = Center
			uioTextVertAlign = Top
			uioOnPosY = -130up
		</uiElem>			
	</uiElem>		

		
</uiElem>		

###############################################################################
# Tutorail window
###############################################################################
<uiElem>
	typeName = tutorialMainCell
	uioElemType = userTutorialTableCell
	objAnim = __none__
	uioLayerName = __none__
	objSizeW = 380up
	objSizeH = 200up
	

	<uiElem>
		typeName = tutDescText
		uioText = This is a test.
		uioTextWidth = 370up
		uioTextColor = { 0.365, 0.188, 0.125, 1.0 }
		uioTextShadowColor = { 1.0, 0.945, 0.655, 1 }		
		uioTextHorAlign = Left
		uioTextVertAlign = Top
		uioTextOffsetX = -175up
		uioTextOffsetY = -75up
	</uiElem>

</uiElem>

<uiElem>
	typeName = tutScreen
	uioLayerName = uilTutorial
	
	#uioTimeOffsetWhenShowing = 1.0
	
	objSizeW = 480up
	objSizeH = 320up
	
	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	
	animRenderStage = 5
	
	<uiElem>
		typeName = tutMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.5 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>
	
	<uiElem>
		typeName = tutMenuBackHs2
		objAnim = gameMapBack
	</uiElem>		
		
	<uiElem>
		typeName = tutCloseButton
		objAnim = buttonLong
		objBaseAnim = buttonLongPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOnPosY = 110up
		objSizeW = 170up
		objSizeH = 46up
		uioText = Close
		uioAction = uiaHideLayer
		uioActionValue = uilTutorial
		uioAlignHints = { Center, Bottom }
		uioTextOffsetY = 2up
		animRenderStage = 4
	</uiElem>
	
	<uiElem>
		typeName = tutTable
		uioElemType = etTable
		uioOnPosY = -7up
		objSizeW = 380up
		objSizeH = 178up
		uioTableNumColumns = 1
		uioTableCellSpacing = 0
		uioTableCellTypes = { tutorialMainCell }
		uioTableAllowSelection = False
	</uiElem>
	
	<uiElem>
		typeName = tutTitle
		uioTextColor = { 0.50, 0, 0, 1 }
		uioTextShadowColor = { 1.0, 0.945, 0.655, 1 }
		uioOnPosX = 0up
		uioOnPosY = -108up
		uioText = Goals and Gameplay
		uioTextHorAlign = Center
		uioTextOffsetY = 2up
	</uiElem>
	
</uiElem>

#####################################################
# Demo Over
#####################################################
<uiElem>
	typeName = demoEndDialog
	uioLayerName = uilDemoOver
	
	objSizeW = 480up
	objSizeH = 320up
	
	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	
	animRenderStage = 5
	
	<uiElem>
		typeName = demoEndMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.5 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>
	
	<uiElem>
		typeName = demoEndMenuBackHs2
		objAnim = largeDialogAnim
	</uiElem>	
	
	<uiElem>
		typeName = deSadEnd
		# objAnim = animGameEndsPage:1
		uioOnPosY = 40up
		
		<uiElem>
			typeName = deSadTitle
			uioOnPosX = 0up
			uioOnPosY = -152up
			uioText = Lite Version's Over!
			uioTextHorAlign = Center
			uioTextOffsetY = 2up
			uioFont = ftMainFontMedSmall
		</uiElem>	
		
		<uiElem>
			typeName = deSadText
			uioText = You have fought bravely and made great progress. However, although we're developers, we're also human, and we often tend to need something to eat and a place to sleep (but only occasionally). If you like our game, please consider purchasing the full version (if you do it below, you can continue playing right where you left off). And remember, we're always grateful to you for playing this far. :)
			uioTextWidth = 300up
			uioTextHorAlign = Center
			uioTextVertAlign = Top
			uioOnPosY = -110up
			uioFont = ftMainFontSmallSimple
		</uiElem>
						
	</uiElem>		

	<uiElem>
		typeName = deCloseButton
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = -70up
		uioOnPosY = 120up
		objSizeW = 128up
		objSizeH = 40up
		uioText = End Game
		uioAction = uiaProcessScores
		animRenderStage = 4
	</uiElem>
	
	<uiElem>
		typeName = deBuyFullButton
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = 70up
		uioOnPosY = 120up
		objSizeW = 128up
		objSizeH = 40up
		uioText = Buy Full Game
		uioAction = uiaPurchaseFull
		animRenderStage = 4
	</uiElem>
			
</uiElem>		


#####################################################
# Data overlays
#####################################################
<uiElem>
	typeName = overlayMoney
	uioLayerName = uilOverlays
	uioOnPosX = 186up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	uioOnPosY = 16up
	uioOffPosY = -56up
	uioOff2PosY = -56up
	uioInGame = True
	uioText = Test
	uioTextHorAlign = Left
	uioAlignHints = { Center, Top }
	uioFont = ftMainFontMed
</uiElem>

<uiElem>
	typeName = overlayWaveTime
	uioLayerName = uilOverlays
	uioOnPosX = 2up
	uioOffPosX = 2up
	uioOff2PosX = 2up
	uioOnPosY = 16up
	uioOffPosY = -56up
	uioOff2PosY = -56up
	uioInGame = True
	uioText = Test
	uioTextHorAlign = Left
	uioAlignHints = { Left, Top }
	uioFont = ftMainFontMed
</uiElem>

<uiElem>
	typeName = overlayWaveNum
	uioLayerName = uilOverlays
	uioOnPosX = 2up
	uioOffPosX = 2up
	uioOff2PosX = 2up
	uioOnPosY = 30up
	uioOffPosY = -56up
	uioOff2PosY = -56up
	uioInGame = True
	uioText = Test
	uioTextHorAlign = Left
	uioAlignHints = { Left, Top }
	uioFont = ftMainFontSmall
</uiElem>


<uiElem>
	typeName = overlayLife
	uioLayerName = uilOverlays
	uioElemType = etProgress
	objAnim = lifeFullAnim
	objBaseAnim = lifeEmptyAnim

	uioOnPosX = 242up
	uioOffPosX = 242up
	uioOff2PosX = 242up

	uioOnPosY = 32up
	uioOffPosY = -56up
	uioOff2PosY = -56up

	uioProgressBarDirection	= FromRight
	uioInGame = True
	uioAlignHints = { Center, Top }
</uiElem>

<uiElem>
	typeName = overlayMenuBtn
	uioLayerName = uilOverlays
	uioElemType = etButton

	uioFont = ftMainFontMed

	uioOnPosX = 472up
	uioOffPosX = 472up
	uioOff2PosX = 472up
	uioOnPosY = 16up
	uioOffPosY = -56up
	uioOff2PosY = -56up

	objSizeW = 120up
	objSizeH = 40up
	uioAction = uiaShowLayer
	uioActionValue = uilGamePause
	uioText = MENU
	uioTextHorAlign = Right
	uioInGame = True
	objBoxOffsetX = -26up
	uioAlignHints = { Right, Top }
</uiElem>

<uiElem>
	typeName = overlayTopButton
	uioElemType = etTwitchButton
	uioLayerName = uilOverlays
	uioOnPosX = 383.5up
	uioOffPosX = 383.5up
	uioOff2PosX = 383.5up
	uioOnPosY = 191.5up
	uioOffPosY = 191.5up
	uioOff2PosY = 191.5up
	uioInGame = True
	objAnim = uiRoundButtonTop
	#objSizeW = 60up
	#objSizeH = 45up
	objSizeW = 60up
	objSizeH = 60up
	uioOnOpacity = 0.55
	uioAction = uiaThrowBomb
	uioActionValue = siDestructorBomb
	uioPushTime = 0.0
	<uiElem>
		typeName = overlayTopButtonIcon
		objAnim = bombsAtlas:3
		uioOnOpacity = 1.5
		uioOnRotate = 25
		uioOnPosX = 1.5up
		uioOnPosY = -1.5up
	</uiElem>
</uiElem>

<uiElem>
	typeName = overlayLeftButton
	uioElemType = etTwitchButton
	uioLayerName = uilOverlays
	uioOnPosX = 353up
	uioOffPosX = 353up
	uioOff2PosX = 353up
	uioOnPosY = 223up
	uioOffPosY = 223up
	uioOff2PosY = 223up
	uioInGame = True
	objAnim = uiRoundButtonLeft
	#objSizeW = 45up
	#objSizeH = 60up
	objSizeW = 60up
	objSizeH = 60up
	uioAction = uiaThrowBomb
	uioActionValue = siGravityBomb
	uioOnOpacity = 0.55
	uioPushTime = 0.0
	<uiElem>
		typeName = overlayLeftButtonIcon
		objAnim = bombsAtlas:2
		uioOnOpacity = 1.5
		uioOnRotate = 70
		uioOnPosX = -1.5up
		uioOnPosY = 1.5up
	</uiElem>
</uiElem>

<uiElem>
	typeName = overlayGreenBombs
	uioLayerName = uilOverlays
	uioOnPosX = 120up
	uioOffPosX = 120up
	uioOff2PosX = 120up
	uioOnPosY = 14up
	uioOffPosY = -56up
	uioOff2PosY = -56up
	uioInGame = True
	uioText = 3
	uioTextHorAlign = Center
	uioTextOffsetX = 13.5up
	objAnim = bombsAtlas:2
	uioAlignHints = { Center, Top }
	uioFont = ftMainFontSmall
</uiElem>

<uiElem>
	typeName = overlayBlueBombs
	uioLayerName = uilOverlays
	uioOnPosX = 344up
	uioOffPosX = 344up
	uioOff2PosX = 344up
	uioOnPosY = 14up
	uioOffPosY = -56up
	uioOff2PosY = -56up
	uioInGame = True
	uioText = 3
	uioTextHorAlign = Center
	uioTextOffsetX = 13.5up
	objAnim = bombsAtlas:3
	uioAlignHints = { Center, Top }
	uioFont = ftMainFontSmall
</uiElem>

#####################################################
# Wave complete
#####################################################
<uiElem>
	typeName = waveEndDilaog
	uioLayerName = uilWaveComplete
	uioElemType = userWaveCompleteWindow
	
	objSizeW = 480up
	objSizeH = 320up
	
	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	
	animRenderStage = 5
	
	<uiElem>s
		typeName = wegameEndMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.5 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>
	
	<uiElem>
		typeName = wegameEndMenuBackHs2
		objAnim = largeDialogAnim
	</uiElem>	

	<uiElem>
		typeName = weTitle
		uioText = Wave Complete!
		uioFont = ftMainFontMed
		uioOnPosY = -62up
	</uiElem>

	<uiElem>
		typeName = weEnemiesIcon
		objAnim = enemiesAtlas:3
		uioText = 15
		uioFont = ftMainFontMed
		uioOnPosX = -107up
		uioOnPosY = -7up
		uioTextOffsetX = 20up
		uioTextOffsetY = -3up
		uioTextHorAlign = Left
		<uiElem>
			typeName = weEnemiesSmallText
			uioText = Enemies
			uioFont = ftMainFontSmall
			uioTextHorAlign = Left
			uioOnPosX = 21up
			uioOnPosY = 14up
		</uiElem>
	</uiElem>

	<uiElem>
		typeName = wePointsIcon
		objAnim = largeCoin
		uioText = 30,000
		uioFont = ftMainFontMed
		uioTextOffsetX = 21up
		uioTextOffsetY = -3up
		uioTextHorAlign = Left
		uioOnPosX = 15up
		uioOnPosY = -7up
		<uiElem>
			typeName = wePointsSmallText
			uioText = Points
			uioFont = ftMainFontSmall
			uioTextHorAlign = Left
			uioOnPosX = 21up
			uioOnPosY = 14up
		</uiElem>
	</uiElem>
	
	<uiElem>
		typeName = weNextWave
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = 70up
		uioOnPosY = 58up
		objSizeW = 128up
		objSizeH = 40up
		uioText = Next Wave
		uioAction = uiaHideLayer
		uioActionValue = uilWaveComplete
	</uiElem>

	<uiElem>
		typeName = weMainMenu
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = -70up
		uioOnPosY = 58up
		objSizeW = 128up
		objSizeH = 40up
		uioText = Main Menu
		uioAction = uiaShowStartMenu
	</uiElem>

	<uiElem>
		typeName = weToScores
		objAnim = button2Short
		objBaseAnim = button2ShortPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOnPosY = 58up
		objSizeW = 128up
		objSizeH = 40up
		uioText = Ok
		uioAction = uiaEndGame
	</uiElem>

</uiElem>


#####################################################
# Demo Delay Dialog
#####################################################
<uiElem>
	typeName = demoDelayDialog
	uioLayerName = uilDemoDelay
	uioElemType = userDemoDelayWindow
	
	objSizeW = 480up
	objSizeH = 320up
	
	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	
	animRenderStage = 5
	
	<uiElem>
		typeName = demoDelayMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.5 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>
	
	<uiElem>
		typeName = demoDelayMenuBackHs2
		objAnim = largeDialogAnim
	</uiElem>	
	
	<uiElem>
		typeName = ddSadEnd
		# objAnim = animGameEndsPage:1
		uioOnPosY = 40up
		
		<uiElem>
			typeName = ddSadTitle
			uioOnPosX = 0up
			uioOnPosY = -152up
			uioText = Lite Version's Over!
			uioTextHorAlign = Center
			uioTextOffsetY = 2up
			uioFont = ftMainFontMedSmall
		</uiElem>	
		
		<uiElem>
			typeName = ddSadText
			uioText = You have fought bravely and made great progress. However, this is the end of the Lite version, and while you can continue playing, each consequent wave will start with this delay screen.^^If you like our game, please consider buying the full version and continuing without delays. You'll also help supporting an indie studio in making more and better games in the future.
			uioTextWidth = 290up
			uioTextHorAlign = Center
			uioTextVertAlign = Top
			uioOnPosY = -122up
			uioFont = ftMainFontSmallSimple
		</uiElem>
						
	</uiElem>		

	<uiElem>
		typeName = ddProgress
		uioElemType = etProgress
		objAnim = loadProgressFull
		objBaseAnim = loadProgressEmpty
		uioOnPosX = 27up
		uioOnPosY = 72up
		uioProgressBarDirection	= FromRight
		uioText = Next Wave:
		uioTextOffsetX = -180up
		uioTextHorAlign = Right
	</uiElem>

	<uiElem>
		typeName = ddPTime
		uioOnPosX = 115up
		uioOnPosY = 73up
		uioText = 2.01
		uioTextHorAlign = Left
	</uiElem>

	<uiElem>
		typeName = ddCloseButton
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		uioElemType = etButton
		uioOnPosX = -78up
		uioOnPosY = 120up
		objSizeW = 160up
		objSizeH = 42up
		uioText = End Game
		uioAction = uiaProcessScores
		animRenderStage = 4
	</uiElem>
	
	<uiElem>
		typeName = ddBuyFullButton
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		uioElemType = etButton
		uioOnPosX = 78up
		uioOnPosY = 120up
		objSizeW = 160up
		objSizeH = 42up
		uioText = Buy Full Game
		uioAction = uiaPurchaseFull
		animRenderStage = 4
	</uiElem>

	<uiElem>
		typeName = ddNextWaveButton
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		uioElemType = etButton
		uioOnPosX = -78up
		uioOnPosY = 120up
		objSizeW = 160up
		objSizeH = 42up
		uioText = Start the Wave!
		uioAction = uiaHideLayer
		uioActionValue = uilDemoDelay
		animRenderStage = 4
	</uiElem>
			
</uiElem>		

#####################################################
# Failed Game End
#####################################################
<uiElem>
	typeName = fgeDialog
	uioLayerName = uiFailedGameEnd
	uioElemType = userFailedGameEnd
	
	objSizeW = 480up
	objSizeH = 320up
	
	uioOnPosY = 160up
	uioOffPosY = 160up
	uioOff2PosY = 160up
	
	uioOnPosX = 240up
	uioOffPosX = 240up
	uioOff2PosX = 240up
	
	animRenderStage = 5
	
	<uiElem>
		typeName = fgeDelayMenuBackHs
		uioElemType = etSolidColor
		uioTextSelColor = { 0, 0, 0, 0.5 }		
		objSizeW = 480up
		objSizeH = 320up
	</uiElem>
	
	<uiElem>
		typeName = fgeDelayMenuBackHs2
		objAnim = largeDialogAnim
	</uiElem>	
	
	<uiElem>
		typeName = fgeSadEnd
		uioOnPosY = 40up
		
		<uiElem>
			typeName = fgeSadTitle
			uioOnPosX = 0up
			uioOnPosY = -112up
			uioText = Game Over!
			uioTextHorAlign = Center
			uioTextOffsetY = 2up
			uioFont = ftMainFontMedSmall
		</uiElem>	
		
		<uiElem>
			typeName = fgeSadText
			uioText = Unfortunately, we can't submit a score for this game, since not enough enemies were destroyed to determine your true accuracy. It's ok to cause more destruction, that's what games are for. :)
			uioTextWidth = 290up
			uioTextHorAlign = Center
			uioTextVertAlign = Top
			uioOnPosY = -90up
			uioFont = ftMainFontSmallSimple
		</uiElem>
						
	</uiElem>		

	<uiElem>
		typeName = fgeCloseButton
		objAnim = buttonShort
		objBaseAnim = buttonShortPressed
		uioElemType = etButton
		uioOnPosX = 0up
		uioOnPosY = 60up
		objSizeW = 160up
		objSizeH = 42up
		uioText = Ok
		uioAction = uiaShowScores
		animRenderStage = 4
	</uiElem>
	
</uiElem>		



